﻿ALTER TABLE [dbo].[t_Document]
    ADD CONSTRAINT [FK_t_Documents_t_Loan] FOREIGN KEY ([GUID_Table]) REFERENCES [dbo].[t_Loan] ([GUID_Documents]) ON DELETE CASCADE ON UPDATE NO ACTION;


GO
ALTER TABLE [dbo].[t_Document] NOCHECK CONSTRAINT [FK_t_Documents_t_Loan];

